
#ifndef __LED_H__
#define __LED_H__



#include <stm32f10x.h>
#include <stm32f10x_rcc.h>
#include <stm32f10x_gpio.h>

#define LED_ON 0
#define LED_OFF 1

#define LED_RED_ON 2
#define LED_RED_OFF 3

#define LED_GREEN_ON 4
#define LED_GREEN_OFF 5

#define LED_BLUE_ON 6
#define LED_BLUE_OFF 7

#define LED_ALL_ON 8
#define LED_ALL_OFF 9



void led_init(void);
void led_ctl(uint8_t cmd);




#endif 
